package web.api.global.message;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author Jin Zheng
 * @since 1.0 2022-01-25
 */
@Getter
@Setter
@NoArgsConstructor
public class TokenApiResponse {
	@Schema(format = "字符串", description = "用户令牌")
	private String token;

	@Schema(format = "yyyy-MM-dd HH:mm:ss", description = "令牌过期时间")
	private LocalDateTime expireTime;

}
